<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>网站信息</title>
<bootstrap />
<style type="text/css">
	
</style>
</head>
<body>
<form action="{:U('Admin/Config/index')}" method="post">
<ul class="nav nav-tabs">
   <li class="active">
    	<a href="#basic" data-toggle="tab">网站设置</a>
   </li>
   <li>
    	<a href="#seo" data-toggle="tab">优化推广</a>
   </li>
   <li>
  		<a href="#water" data-toggle="tab">文章水印</a>
   </li>
   <li>
  		<a href="#oauth" data-toggle="tab">第三方登录</a>
   </li>
   <li>
  		<a href="#other" data-toggle="tab">其他第三方接口</a>
   </li>
</ul>
<div class="tab-content">
   <div class="tab-pane fade in active" id="basic">
		<table class="table table-bordered table-hover">
			<tr>
				<th>网站状态</th>
				<td>
					<span class="inputword">开启</span>
					<input class="icheck" type="radio" name="WEB_STATUS" value="1" <if condition="$data['WEB_STATUS'] eq 1">checked="checked"</if> >
					<span class="inputword">关闭</span>
					<input class="icheck" type="radio" name="WEB_STATUS" value="0" <if condition="$data['WEB_STATUS'] eq 0">checked="checked"</if> >
				</td>
			</tr>
			<tr>
				<th>网站关闭时提示文字</th>
				<td>
					<textarea class="form-control modal-sm" name="WEB_CLOSE_WORD" rows="5" placeholder="">{$data['WEB_CLOSE_WORD']}</textarea>
				</td>
			</tr>			
			<tr>
				<th>备案号：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="WEB_ICP_NUMBER" value="{$data['WEB_ICP_NUMBER']}" >
				</td>
			</tr>
			<tr>
				<th>站长邮箱：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="ADMIN_EMAIL" value="{$data['ADMIN_EMAIL']}" >
				</td>
			</tr>
		</table>
   </div>
   <div class="tab-pane fade" id="seo">
		<table class="table table-bordered table-hover">
			<tr>
				<th>网站名：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="WEB_NAME" value="{$data['WEB_NAME']}" >
				</td>
			</tr>
			<tr>
				<th>网站关键字</th>
				<td>
					<textarea class="form-control modal-sm" name="WEB_KEYWORDS" rows="5" placeholder="">{$data['WEB_KEYWORDS']}</textarea>
				</td>
			</tr>
			<tr>
				<th>网站描述</th>
				<td>
					<textarea class="form-control modal-sm" name="WEB_DESCRIPTION" rows="5" placeholder="">{$data['WEB_DESCRIPTION']}</textarea>
				</td>
			</tr>
			<tr>
				<th>默认作者：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="AUTHOR" value="{$data['AUTHOR']}" >
				</td>
			</tr>
			<tr>
				<th>文章保留版权提示</th>
				<td>
					<textarea class="form-control modal-sm" name="COPYRIGHT_WORD" rows="5" placeholder="">{$data['COPYRIGHT_WORD']}</textarea>
				</td>
			</tr>
			<tr>
				<th>文章图片title和alt内容：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="IMAGE_TITLE_ALT_WORD" value="{$data['IMAGE_TITLE_ALT_WORD']}" >
				</td>
			</tr>
		</table>
   </div>
   <div class="tab-pane fade" id="water">
    	<table class="table table-bordered table-hover">
    		<tr>
				<th>水印类型</th>
				<td>
					<span class="inputword">文字水印</span>
					<input class="icheck" type="radio" name="WATER_TYPE" value="1" <if condition="$data['WATER_TYPE'] eq 1">checked="checked"</if> >
					<span class="inputword">图片水印</span>
					<input class="icheck" type="radio" name="WATER_TYPE" value="2" <if condition="$data['WATER_TYPE'] eq 2">checked="checked"</if> >
					<span class="inputword">关闭水印</span>
					<input class="icheck" type="radio" name="WATER_TYPE" value="0" <if condition="$data['WATER_TYPE'] eq 0">checked="checked"</if> >
				</td>
			</tr>
			<tr>
				<th>文字水印内容：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="TEXT_WATER_WORD" value="{$data['TEXT_WATER_WORD']}" >
				</td>
			</tr>
			<tr>
				<th>文字水印字体路径：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="TEXT_WATER_TTF_PTH" value="{$data['TEXT_WATER_TTF_PTH']}" >
				</td>
			</tr>
			<tr>
				<th>文字水印文字字号：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="TEXT_WATER_FONT_SIZE" value="{$data['TEXT_WATER_FONT_SIZE']}" >
				</td>
			</tr>
			<tr>
				<th>文字水印文字颜色：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="TEXT_WATER_COLOR" value="{$data['TEXT_WATER_COLOR']}" >
				</td>
			</tr>
			<tr>
				<th>文字水印文字倾斜程度：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="TEXT_WATER_ANGLE" value="{$data['TEXT_WATER_ANGLE']}" >
				</td>
			</tr>
			<tr>
				<th>文字水印位置：</th>
				<td>
					<span class="inputword">上左</span>
					<input class="icheck" type="radio" name="TEXT_WATER_LOCATE" value="1" <if condition="$data['TEXT_WATER_LOCATE'] eq 1">checked="checked"</if> >
					<span class="inputword">上中</span>
					<input class="icheck" type="radio" name="TEXT_WATER_LOCATE" value="2" <if condition="$data['TEXT_WATER_LOCATE'] eq 2">checked="checked"</if> >
					<span class="inputword">上右</span>
					<input class="icheck" type="radio" name="TEXT_WATER_LOCATE" value="3" <if condition="$data['TEXT_WATER_LOCATE'] eq 3">checked="checked"</if> >
					<br>
					<span class="inputword">中左</span>
					<input class="icheck" type="radio" name="TEXT_WATER_LOCATE" value="4" <if condition="$data['TEXT_WATER_LOCATE'] eq 4">checked="checked"</if> >
					<span class="inputword">中中</span>
					<input class="icheck" type="radio" name="TEXT_WATER_LOCATE" value="5" <if condition="$data['TEXT_WATER_LOCATE'] eq 5">checked="checked"</if> >
					<span class="inputword">中右</span>
					<input class="icheck" type="radio" name="TEXT_WATER_LOCATE" value="6" <if condition="$data['TEXT_WATER_LOCATE'] eq 6">checked="checked"</if> >
					<br>
					<span class="inputword">下左</span>
					<input class="icheck" type="radio" name="TEXT_WATER_LOCATE" value="7" <if condition="$data['TEXT_WATER_LOCATE'] eq 7">checked="checked"</if> >
					<span class="inputword">下中</span>
					<input class="icheck" type="radio" name="TEXT_WATER_LOCATE" value="8" <if condition="$data['TEXT_WATER_LOCATE'] eq 8">checked="checked"</if> >
					<span class="inputword">下右</span>
					<input class="icheck" type="radio" name="TEXT_WATER_LOCATE" value="9" <if condition="$data['TEXT_WATER_LOCATE'] eq 9">checked="checked"</if> >
				</td>
			</tr>
			<tr>
				<th>图片水印来源路径：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="IMAGE_WATER_PIC_PTAH" value="{$data['IMAGE_WATER_PIC_PTAH']}" >
				</td>
			</tr>
			<tr>
				<th>图片水印位置：</th>
				<td>
					<span class="inputword">上左</span>
					<input class="icheck" type="radio" name="IMAGE_WATER_LOCATE" value="1" <if condition="$data['IMAGE_WATER_LOCATE'] eq 1">checked="checked"</if> >
					<span class="inputword">上中</span>
					<input class="icheck" type="radio" name="IMAGE_WATER_LOCATE" value="2" <if condition="$data['IMAGE_WATER_LOCATE'] eq 2">checked="checked"</if> >
					<span class="inputword">上右</span>
					<input class="icheck" type="radio" name="IMAGE_WATER_LOCATE" value="3" <if condition="$data['IMAGE_WATER_LOCATE'] eq 3">checked="checked"</if> >
					<br>
					<span class="inputword">中左</span>
					<input class="icheck" type="radio" name="IMAGE_WATER_LOCATE" value="4" <if condition="$data['IMAGE_WATER_LOCATE'] eq 4">checked="checked"</if> >
					<span class="inputword">中中</span>
					<input class="icheck" type="radio" name="IMAGE_WATER_LOCATE" value="5" <if condition="$data['IMAGE_WATER_LOCATE'] eq 5">checked="checked"</if> >
					<span class="inputword">中右</span>
					<input class="icheck" type="radio" name="IMAGE_WATER_LOCATE" value="6" <if condition="$data['IMAGE_WATER_LOCATE'] eq 6">checked="checked"</if> >
					<br>
					<span class="inputword">下左</span>
					<input class="icheck" type="radio" name="IMAGE_WATER_LOCATE" value="7" <if condition="$data['IMAGE_WATER_LOCATE'] eq 7">checked="checked"</if> >
					<span class="inputword">下中</span>
					<input class="icheck" type="radio" name="IMAGE_WATER_LOCATE" value="8" <if condition="$data['IMAGE_WATER_LOCATE'] eq 8">checked="checked"</if> >
					<span class="inputword">下右</span>
					<input class="icheck" type="radio" name="IMAGE_WATER_LOCATE" value="9" <if condition="$data['IMAGE_WATER_LOCATE'] eq 9">checked="checked"</if> >
				</td>
			</tr>
			<tr>
				<th>图片水印透明度：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="IMAGE_WATER_ALPHA" value="{$data['IMAGE_WATER_ALPHA']}" >
				</td>
			</tr>
		</table>
   </div>
   <div class="tab-pane fade" id="oauth">
    	<table class="table table-bordered table-hover">
			<tr>
				<th>QQ登陆APP ID：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="QQ_APP_ID" value="{$data['QQ_APP_ID']}" >
				</td>
			</tr>
			<tr>
				<th>QQ登陆APP KEY：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="QQ_APP_KEY" value="{$data['QQ_APP_KEY']}" >
				</td>
			</tr>
			<tr>
				<th>新浪微博登陆API KEY：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="SINA_API_KEY" value="{$data['SINA_API_KEY']}" >
				</td>
			</tr>
			<tr>
				<th>新浪微博登陆SECRET：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="SINA_SECRET" value="{$data['SINA_SECRET']}" >
				</td>
			</tr>
			<tr>
				<th>豆瓣登陆API KEY：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="DOUBAN_API_KEY" value="{$data['DOUBAN_API_KEY']}" >
				</td>
			</tr>
			<tr>
				<th>豆瓣登陆SECRET：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="DOUBAN_SECRET" value="{$data['DOUBAN_SECRET']}" >
				</td>
			</tr>
			<tr>
				<th>人人登陆API KEY：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="RENREN_API_KEY" value="{$data['RENREN_API_KEY']}" >
				</td>
			</tr>
			<tr>
				<th>人人登陆SECRET：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="RENREN_SECRET" value="{$data['RENREN_SECRET']}" >
				</td>
			</tr>
			<tr>
				<th>开心网登陆API KEY：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="KAIXIN_API_KEY" value="{$data['KAIXIN_API_KEY']}" >
				</td>
			</tr>
			<tr>
				<th>开心网登陆SECRET：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="KAIXIN_SECRET" value="{$data['KAIXIN_SECRET']}" >
				</td>
			</tr>
			<tr>
				<th>github Client ID：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="GITHUB_CLIENT_ID" value="{$data['GITHUB_CLIENT_ID']}" >
				</td>
			</tr>
			<tr>
				<th>github Client Secret：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="GITHUB_CLIENT_SECRET" value="{$data['GITHUB_CLIENT_SECRET']}" >
				</td>
			</tr>
			<tr>
				<th>搜狐登录API KEY：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="SOHU_API_KEY" value="{$data['SOHU_API_KEY']}" >
				</td>
			</tr>
			<tr>
				<th>搜狐登录SECRET：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="SOHU_SECRET" value="{$data['SOHU_SECRET']}" >
				</td>
			</tr>
		</table>
   </div>
   <div class="tab-pane fade" id="other">
    	<table class="table table-bordered table-hover">
			<tr>
				<th>畅言评论代码：</th>
				<td>
					<textarea class="form-control modal-sm" name="CHANGYAN_COMMENT" rows="5" placeholder="">{$data['CHANGYAN_COMMENT']}</textarea>
				</td>
			</tr>
			<tr>
				<th>畅言评论回推地址：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="CHANGEYAN_RETURN_COMMENT" value="{$data['CHANGEYAN_RETURN_COMMENT']}" >
				</td>
			</tr>
			<tr>
				<th>百度推送site提交链接：</th>
				<td>
					<input class="form-control modal-sm" type="text" name="BAIDU_SITE_URL" value="{$data['BAIDU_SITE_URL']}" >
				</td>
			</tr>
			<tr>
				<th>第三方统计代码</th>
				<td>
					<textarea class="form-control modal-sm" name="WEB_STATISTICS" rows="5" placeholder="">{$data['WEB_STATISTICS']}</textarea>
				</td>
			</tr>
		</table>
   </div>
</div>
<div>
	<input class="btn btn-default" type="submit" value="提交">
</div>


</form>
</body>
</html>